result = 0
i = 0

while i <= 100:
    if i % 2 ==0:
        i += 1
        continue
    result += i
    i += 1

print("0~100之间的数字求和结果 = %d" % result)

result = 0
i = 0

while i <= 100:
    if result > 2000:
        break
    result += i
    i += 1

print(f"result={result},i={i}")